Ext.Loader.setConfig({
    enabled: true,
    paths: {
        'Ext.ux': 'ux/'
    }
});

Ext.application({
    requires: [
        'MyApp.view.override.FeedGrid',
        'MyApp.view.override.FeedPost'
    ],

    models: [
        'Feed',
        'FeedItem'
    ],
    stores: [
        'FeedStore',
        'FeedItemStore',
        'DefaultFeedsStore'
    ],
    views: [
        'MyViewport',
        'FeedPanel',
        'FeedDetail',
        'FeedGrid',
        'FeedPost',
        'FeedInfo',
        'FeedWindow'
    ],
    autoCreateViewport: true,
    name: 'MyApp',
    controllers: [
        'FeedController'
    ],

    launch: function() {
        Ext.syncRequire([
        'Ext.ux.PreviewPlugin'
        ]);
    }

});
